import random

class Die:

    def __init__(self, sides=6):
        self.sides = sides

    def roll_die(self):
        self.sides = random.randint(1, 6)

    def show_die(self):
        print(self.sides)


die_1 = Die()
for n in range(10):
    die_1.roll_die()
    die_1.show_die()